<!DOCTYPE html>
<html lang="zh">

<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdn.staticfile.net/vue/2.7.8/vue.js"></script>
    <link href="../css/style.css" rel="stylesheet">
</head>

<body>
<div id="app">
    <p>{{myGame}}</p>
    <label>
        <input type="text" placeholder="请输入" v-model="myGame">
    </label>

    <hr>

    <select v-model="selected">
        <option value="">请选择</option>
        <option value="1">第一</option>
        <option value="2">第二</option>
    </select>
    <p>选择的值是：{{selected}}</p>

    <hr>

    <textarea v-model="content"></textarea>
    <p>content is:{{content}}</p>
</div>
<script>
    const vm = new Vue({
        el: '#app',
        data: {
            myGame: '比卡丘',
            selected: '',
            content: ''
        }
    });
</script>
</body>
</html>